package com.xique.door.biz.service.impl;

import com.xique.common.core.utils.MathUtil;
import com.xique.common.core.utils.SecurityUtils;
import com.xique.common.core.web.domain.AjaxResult;
import com.xique.door.bean.domain.DCard;
import com.xique.door.bean.domain.PermissionGroupUser;
import com.xique.door.bean.domain.User;
import com.xique.door.bean.request.card.CardAddRequest;
import com.xique.door.biz.service.ICardBizService;
import com.xique.door.biz.service.IUserCardBizService;
import com.xique.door.device.freeview.constant.CommandCardType;
import com.xique.door.service.IDCardService;
import com.xique.door.service.IUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.util.CollectionUtils;

import java.util.List;

/**
 * @author: caogq
 * @Date: 2022/1/21 17:20
 * @Description:
 */
@Service
public class UserCardBizServiceImpl implements IUserCardBizService {

    @Autowired
    private ICardBizService cardBizService;

    @Override
    public AjaxResult addCard(CardAddRequest cardAddRequest) {
        return  cardBizService.addCard(cardAddRequest);
    }
}
